class Base(object):
    def test(self):
        print("------Base")

class A(Base):

    def test2(self):
        print("-------A方法")

class B(Base):
    def test3(self):
        print("-------B方法")


#多继承写法

class C(A,B):
    def test4(self):
        print("-------多继承C")


c = C()
c.test()
c.test2()
c.test3()
c.test4()

#类名.__mro__   打印类的调用顺序
